package io.gitee.icefairy.total_monitor.model;

import lombok.Data;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.jpa.model.BaseModel;
import xyz.erupt.upms.model.base.HyperModel;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Author:icefairy
 * Date:2021/12/22 0022
 **/
@Erupt(name = "活跃日志")
@Entity
@Data
@Table(name = "z_active_log")
public class ActiveLogItem extends BaseModel {
    @EruptField(views = @View(title = "组件id"), edit = @Edit(title = "组件id"))
    private int item_id;
    @EruptField(views = @View(title = "创建时间"), edit = @Edit(title = "创建时间"))
    private Date create_date;
    @EruptField(views = @View(title = "状态"), edit = @Edit(title = "状态"))
    private int status;
    @EruptField(views = @View(title = "IP"),edit = @Edit(title = "IP"))
    private String ip;
}
